package net.thellium.ddiameter.protocol.avp;

import net.thellium.ddiameter.protocol.AVP;

@SuppressWarnings("serial")
public abstract class BaseAVP implements AVP {
	private int code;
	private long vendorID;
	private boolean encrypted;
	private boolean mandatory;
	private boolean vendorSpecific;

	public int getCode() {
		return code;
	}

	public void setCode(int avpCode) {
		this.code = avpCode;
	}

	public long getVendorID() {
		return vendorID;
	}

	public void setVendorID(long vendorID) {
		this.vendorID = vendorID;
	}

	public boolean isEncrypted() {
		return encrypted;
	}

	public void setEncrypted(boolean encrypted) {
		this.encrypted = encrypted;
	}

	public boolean isMandatory() {
		return mandatory;
	}

	public void setMandatory(boolean mandatory) {
		this.mandatory = mandatory;
	}

	public boolean isVendorSpecific() {
		return vendorSpecific;
	}

	public void setVendorSpecific(boolean vendorSpecific) {
		this.vendorSpecific = vendorSpecific;
	}
	

}
